40fcefb3dgsa24WLk_BJeYQHrDLuOg tools/python/xen/xend/sv/images/seperator-right-highlight.jpg
40fcefb3FtiX4Pd2kT8wDlp8u8xRhQ tools/python/xen/xend/sv/images/seperator.jpg
40fcefb3yMSrZvApO9ToIi-iQwnchA tools/python/xen/xend/sv/images/xen.png
-40fcefb310mW7U0p7JMoBQVnjf76xg tools/python/xen/xend/sv/inc/bottom.htm
40fcefb3zGC9XNBkSwTEobCoq8YClA tools/python/xen/xend/sv/inc/style.css
-40fcefb4oxovdYkUvExZSkHN0cy_Ow tools/python/xen/xend/sv/inc/top.htm
40fcefb4rnaZNjqsBu7A5V2rlLyqRw tools/python/xen/xend/sv/util.py
40c9c469LNxLVizOUpOjEaTKKCm8Aw tools/python/xen/xend/sxp.py
40d05079aFRp6NQdo5wIh5Ly31c0cg tools/python/xen/xm/__init__.py
class HTMLBase( resource.Resource ):
isLeaf = True
-
- defaultPath = "/usr/lib/python2.2/site-packages/xen/xend/sv/"
def __init__( self ):
resource.Resource.__init__(self)
request.write( "BODY" )
def write_TOP( self, request ):
- f = open( self.defaultPath + 'inc/top.htm', 'r' )
- request.write( f.read() )
+ request.write( '<html><head><title>Xen</title><link rel="stylesheet" type="text/css" href="inc/style.css" />' )
+ request.write( '</head><body>' )
def write_BOTTOM( self, request ):
- f = open( self.defaultPath + 'inc/bottom.htm', 'r' )
- request.write( f.read() )
\ No newline at end of file
+ request.write( "</body></html>" )
\ No newline at end of file